//
//  BaseViewController.m
//  MY Project For Sport
//
//  Created by dllo on 16/1/22.
//  Copyright © 2016年 dilo. All rights reserved.
//

#import "BaseViewController.h"
#import <DKNightVersion.h>

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
   // self.view.backgroundColor = [UIColor whiteColor];
    
    if ([[NSUserDefaults standardUserDefaults] boolForKey:@"ISNIGHT"]) {
        [DKNightVersionManager nightFalling];
    }else {
        [DKNightVersionManager dawnComing];
        
    }
    
    
    self.view.dk_backgroundColorPicker = DKColorWithRGB(0xffffff, 0x343434);
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
